<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class ConfigGroups extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $data = array(
            array('name'=>'系统基本参数','weight'=>1,'addtime'=>time()),
            array('name'=>'邮件配置','weight'=>1,'addtime'=>time()),
            array('name'=>'安全设置','weight'=>1,'addtime'=>time()),
            array('name'=>'上传配置','weight'=>1,'addtime'=>time()),
        );
        DB::table('config_groups')->insert($data);
    }
}
